﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_Customer.cs
// 创建时间：2016/11/29
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///客户管理(ERP_Customer)数据实体
	/// </summary>
	[Serializable]
	public class ERP_Customer
	{
		#region 变量定义
		
		///<summary>
		///客户ID
		///</summary>
		private int _customerId;
		
		///<summary>
		///客户名称
		///</summary>
		private string _customerName = String.Empty;
		
		///<summary>
		///客户类型
		///</summary>
		private int _customerType;
		
		///<summary>
		///拼音码
		///</summary>
		private string _spell = String.Empty;
		
		///<summary>
		///地址
		///</summary>
		private string _address = String.Empty;
		
		///<summary>
		///邮箱
		///</summary>
		private string _email = String.Empty;
		
		///<summary>
		///联系人
		///</summary>
		private string _linkman = String.Empty;
		
		///<summary>
		///联系人电话
		///</summary>
		private string _telephone = String.Empty;
		
		///<summary>
		///备注
		///</summary>
		private string _remark = String.Empty;
		
		///<summary>
		///录入人
		///</summary>
		private string _inUser = String.Empty;
		
		///<summary>
		///录入时间
		///</summary>
		private string _inDate = String.Empty;
		
		///<summary>
		///对口负责人
		///</summary>
		private string _charger = String.Empty;
		
		///<summary>
		///审核人
		///</summary>
		private string _checkUser = String.Empty;
		
		///<summary>
		///审核时间
		///</summary>
		private string _checkDate = String.Empty;
		
		///<summary>
		///0，未审核，1已审核
		///</summary>
		private int _checkState;
		
		///<summary>
		///停用人
		///</summary>
		private string _delUser = String.Empty;
		
		///<summary>
		///停用时间
		///</summary>
		private string _delDate = String.Empty;
		
		///<summary>
		///0,未停用，1，已停用
		///</summary>
		private int _delState;
		#endregion
		
		#region 构造函数

		///<summary>
		///客户管理的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_Customer()
		{
 
		}
		///<summary>
		///客户管理
		///</summary>
		public ERP_Customer
		(
			int customerId,
			string customerName,
			int customerType,
			string spell,
			string address,
			string email,
			string linkman,
			string telephone,
			string remark,
			string inUser,
			string inDate,
			string charger,
			string checkUser,
			string checkDate,
			int checkState,
			string delUser,
			string delDate,
			int delState
		)
		{
			_customerId   = customerId;
			_customerName = customerName;
			_customerType = customerType;
			_spell        = spell;
			_address      = address;
			_email        = email;
			_linkman      = linkman;
			_telephone    = telephone;
			_remark       = remark;
			_inUser       = inUser;
			_inDate       = inDate;
			_charger      = charger;
			_checkUser    = checkUser;
			_checkDate    = checkDate;
			_checkState   = checkState;
			_delUser      = delUser;
			_delDate      = delDate;
			_delState     = delState;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///客户ID
		///</summary>
		public int CustomerId
		{
			get {return _customerId;}
			set {_customerId = value;}
		}

		
		///<summary>
		///客户名称
		///</summary>
		public string CustomerName
		{
			get {return _customerName;}
			set {_customerName = value;}
		}

		
		///<summary>
		///客户类型
		///</summary>
		public int CustomerType
		{
			get {return _customerType;}
			set {_customerType = value;}
		}

		
		///<summary>
		///拼音码
		///</summary>
		public string Spell
		{
			get {return _spell;}
			set {_spell = value;}
		}

		
		///<summary>
		///地址
		///</summary>
		public string Address
		{
			get {return _address;}
			set {_address = value;}
		}

		
		///<summary>
		///邮箱
		///</summary>
		public string Email
		{
			get {return _email;}
			set {_email = value;}
		}

		
		///<summary>
		///联系人
		///</summary>
		public string Linkman
		{
			get {return _linkman;}
			set {_linkman = value;}
		}

		
		///<summary>
		///联系人电话
		///</summary>
		public string Telephone
		{
			get {return _telephone;}
			set {_telephone = value;}
		}

		
		///<summary>
		///备注
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}

		
		///<summary>
		///录入人
		///</summary>
		public string InUser
		{
			get {return _inUser;}
			set {_inUser = value;}
		}

		
		///<summary>
		///录入时间
		///</summary>
		public string InDate
		{
			get {return _inDate;}
			set {_inDate = value;}
		}

		
		///<summary>
		///对口负责人
		///</summary>
		public string Charger
		{
			get {return _charger;}
			set {_charger = value;}
		}

		
		///<summary>
		///审核人
		///</summary>
		public string CheckUser
		{
			get {return _checkUser;}
			set {_checkUser = value;}
		}

		
		///<summary>
		///审核时间
		///</summary>
		public string CheckDate
		{
			get {return _checkDate;}
			set {_checkDate = value;}
		}

		
		///<summary>
		///0，未审核，1已审核
		///</summary>
		public int CheckState
		{
			get {return _checkState;}
			set {_checkState = value;}
		}

		
		///<summary>
		///停用人
		///</summary>
		public string DelUser
		{
			get {return _delUser;}
			set {_delUser = value;}
		}

		
		///<summary>
		///停用时间
		///</summary>
		public string DelDate
		{
			get {return _delDate;}
			set {_delDate = value;}
		}

		
		///<summary>
		///0,未停用，1，已停用
		///</summary>
		public int DelState
		{
			get {return _delState;}
			set {_delState = value;}
		}
	
		#endregion
		
	}
}